<template>
  <div class="page">
    <!-- 吸附效果 -->
    <van-sticky :offset-top="0">
      <van-nav-bar
        title="我的订单"
        right-text="联系我们"
        left-arrow
        @click-left="onClickLeft"
        @click-right="onClickRight()"
      >
      </van-nav-bar>
    </van-sticky>
  </div>
</template>

<script setup>
import { useRouter } from "vue-router";

const router = useRouter();

//返回 11111
const onClickLeft = () => history.back();

//右导航按钮
const onClickRight = () => {
  router.push({ name: "contactus" });
};
</script>

<style lang="scss" scoped></style>
